###装饰器的嵌套
def my_decorator(func):
    def wrapper():
        print("这是装饰后具有的新输出")
        func()
    return wrapper

def my_decorator2(func):
    def wrapper():
        print("这是装饰后具有的新输出2")
        func()
    return wrapper

def my_decorator3(func):
    def wrapper():
        print("这是装饰后具有的新输出3")
        func()
    return wrapper

@my_decorator #1
@my_decorator2 #2
@my_decorator3 #3
def hello():
    print("你好，装饰器")

if __name__ == '__main__':
    hello()
